Bug 607628 - DnD operation doesn't work when using offscreen
authorMichael Natterer <mitch@gimp.org>
Sat, 29 May 2010 03:04:54 +0000 (05:04 +0200)
committerMichael Natterer <mitch@gimp.org>
Sat, 29 May 2010 03:10:19 +0000 (05:10 +0200)
commit9b9945b8e701a32701a2ca152a7059ade85f75c2
tree405e24b414db5978a6fa1d190c31606ad1282949
parent3e38ddd3e6dac4e936d3e0f1b6775197b96e7c7b
Bug 607628 - DnD operation doesn't work when using offscreen

Changed the way to find the drop widget from a top->bottom recursion
using GdkWindow positions to a liner bottom->top walk up the widget
hierarchy using _gtk_widget_find_at_coords() and
gtk_widget_translate_coordinates(), which both do the right things for
offscreen widgets.
(cherry picked from commit cb8c0763215bd18219c2d32b56e4bfe8a576f6b3)
gtk/gtkdnd.c